package AVLTree;

public class AVLTree {
	
	

	
	
	private void rotateLeft() {

	}

	private void rotateRight() {
		
	}
	
}

class AVLNode {
	
	private Object element = null;
	private AVLNode leftChild = null;
	private AVLNode rightChild = null;
	private int balanceFactor = 0;
	
	public AVLNode(Object element) {
		this.element = element;
	}

	public Object getElement() {
		return element;
	}
	public void setElement(Object element) {
		this.element = element;
	}
	public int getBalanceFactor() {
		return balanceFactor;
	}
	public void setBalanceFactor(int balanceFactor) {
		this.balanceFactor = balanceFactor;
	}
	public AVLNode getLeftChild() {
		return leftChild;
	}
	public void setLeftChild(AVLNode leftChild) {
		this.leftChild = leftChild;
	}
	public AVLNode getRightChild() {
		return rightChild;
	}
	public void setRightChild(AVLNode rightChild) {
		this.rightChild = rightChild;
	}
	
}